package com.learn.run;

import com.learn.config.IocConfig;
import com.learn.service.UnfunctionService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author:Mark
 * @Description:
 * @Date: Created on 8:58 2018-11-13
 * @Modify by:
 */
public class RunIon {

  public static void main(String[] args) {
    AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext(IocConfig.class);
    UnfunctionService bean = context.getBean(UnfunctionService.class);
    System.out.println(bean.sysHello("武汉"));
  }

}
